package ltd.smallwang.client.user.api;

import cn.hutool.http.useragent.Platform;
import ltd.smallwang.client.user.dto.LoginNeedVerifyCodeQry;
import ltd.smallwang.client.user.dto.UserLoginCmd;
import ltd.smallwang.client.user.dto.UserRegisterCmd;

/**
 * @author justd
 */
public interface UserService {

  void login(UserLoginCmd userLoginCmd, Platform platform);

  void register(UserRegisterCmd userRegisterCmd, Platform platform);

  boolean checkLoginNeedVerifyCode(LoginNeedVerifyCodeQry loginNeedVerifyCodeQry);
}
